Repository navigation
fix(contracts): delegate_task options example says ids differ by provider - #40806
Conversation
…ider
The target.options description gave {effort:'max'} as its only example,
a Claude option id. Codex models expose reasoningEffort, so an agent that
copied the example was rejected and had to retry. The description now says
option ids differ by provider and shows both.
Fixes #32850
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dget Drop the per-provider examples so the tool list is no larger than main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
**v0.1.12-nightly.20261122.5098** · 59 changes from 25 contributors - **Issue activity links.** Open referenced issues and pull requests directly from an issue’s Activity list. - **Linked project folders.** Browse linked folders when adding or opening a project. - **TanStack Source pull requests.** Open TanStack Source pull requests from any client, including pull requests in private repositories. - **Antigravity permissions.** Auto and Auto-accept edits no longer prompt for T3 Code’s own tools. - **Project action drafts.** Clicking outside the action editor no longer discards your unsaved changes. - **Script-only threads.** Return to a new thread’s script output and controls from the sidebar, even without sending a message. ### Plus 50 more bug fixes and performance improvements. <details> <summary>Full changelog</summary> ## What's Changed * fix(antigravity): pre-approve T3 MCP tools in Auto and Auto-accept edits by @charlesbine in pingdotgg/t3code#39822 * fix(server): Antigravity keeps Auto in the mode picker after a restart by @juliusmarminge in pingdotgg/t3code#40154 * fix(client-runtime): a new thread's first message and a queued send-now or steer survive a dropped socket by @Tgoh in pingdotgg/t3code#40703 * fix(server): long webhook prompts in the delivery log no longer end in a broken character by @tiliakoos in pingdotgg/t3code#40726 * fix(server): a released ACP session no longer leaves its run stuck running by @juliusmarminge in pingdotgg/t3code#40734 * feat(web): sidebar thread rows show the environment instead of the branch by @juliusmarminge in pingdotgg/t3code#40736 * fix: a failed checkpoint capture keeps Edit from here for conversation rewind by @juliusmarminge in pingdotgg/t3code#40745 * docs(claude): mobile shows the compact chip too by @juliusmarminge in pingdotgg/t3code#40755 * fix(server): TanStack Source pull requests open from every client, and private ones work end to end by @juliusmarminge in pingdotgg/t3code#40741 * fix: include delegated threads in CLI listing by @dajiaohuang in pingdotgg/t3code#40738 * fix(pi): turn token usage counts cached tokens as input and stays per turn by @juliusmarminge in pingdotgg/t3code#40758 * fix(mobile): usage account detail keeps even pace current while open by @juliusmarminge in pingdotgg/t3code#40759 * fix(server): Resume sends pending context to providers without native resume by @juliusmarminge in pingdotgg/t3code#40764 * fix(server): a failed or cancelled clone no longer blocks re-cloning its destination by @amanthanvi in pingdotgg/t3code#40739 * fix: retain pull request metadata in thread show by @dajiaohuang in pingdotgg/t3code#40744 * fix(web): show Queue for running sessions that cannot steer by @iiijiashu in pingdotgg/t3code#40767 * fix(web): a click outside the project action editor no longer discards the draft by @AymanKhan9 in pingdotgg/t3code#40776 * fix(server): t3 pair skips Windows VirtualBox and VMware host-only adapters by @juliusmarminge in pingdotgg/t3code#33441 * fix(server): Word text boxes keep their paragraph breaks for agents by @KyrosHendrix in pingdotgg/t3code#40782 * fix(web): RTF previews respect hidden character formatting by @geezoria in pingdotgg/t3code#40783 * fix(mobile): the iOS composer keeps its keyboard and caret after dictation by @arun279 in pingdotgg/t3code#33916 * fix(shared): find file links whose labels contain brackets by @Abhiram-745 in pingdotgg/t3code#40781 * fix(web): restore effort picker keyboard typeahead by @juliusmarminge in pingdotgg/t3code#40798 * fix(server): migration 75 no longer fails on an unreadable subagent payload by @juliusmarminge in pingdotgg/t3code#30783 * fix(issues): an Activity cross-reference opens the issue or pull request it came from by @juliusmarminge in pingdotgg/t3code#40768 * fix(server): tell a stopped parent which delegated tasks its Stop interrupted by @juliusmarminge in pingdotgg/t3code#34499 * fix(server): worktree thread lookups match any spelling of the path by @juliusmarminge in pingdotgg/t3code#36802 * fix(mobile): prevent clipped percentages in usage limit cards by @peterxiemin in pingdotgg/t3code#40778 * test(web): browser tests no longer fail when a stale optimizer cache reloads them mid-run by @Brechard in pingdotgg/t3code#31999 * fix(github): superseded runs' cancelled checks no longer block PR watches by @juliusmarminge in pingdotgg/t3code#30434 * fix(web): keybindings using '+' show a plus keycap instead of empty pills by @AymanKhan9 in pingdotgg/t3code#40808 * fix(web): lineage show-more no longer clips the last row or drops focus by @justsrc in pingdotgg/t3code#31295 * fix(mobile): pulling to Load earlier activity no longer snaps the feed back to the end by @juliusmarminge in pingdotgg/t3code#31907 * perf(dev): incremental, cached server typecheck like web and desktop (body edit 10.3 s → 5.4 s) by @Pyseph in pingdotgg/t3code#30879 * fix(contracts): delegate_task options example says ids differ by provider by @juliusmarminge in pingdotgg/t3code#40806 * fix(web): preserve reply-only edits when a queued message leaves the queue by @iiijiashu in pingdotgg/t3code#40763 * fix(server): t3 start ignores a stale runtime record whose PID was reused by @juliusmarminge in pingdotgg/t3code#28256 * fix(server): runtime prune removes the runtime a committed update replaced and abandoned staging by @juliusmarminge in pingdotgg/t3code#40817 * fix(server): preserve cancellations during checkpoint capture by @voltcrash in pingdotgg/t3code#31349 * fix(web): a failed main chunk load reloads once instead of showing the boot error by @juliusmarminge in pingdotgg/t3code#26451 * fix(server): slash commands reach the provider verbatim when context is pending by @juliusmarminge in pingdotgg/t3code#30261 * fix(opencode): a command that never calls the model no longer leaves the turn running by @juliusmarminge in pingdotgg/t3code#27378 * fix(mobile): model search finds legacy models by @juliusmarminge in pingdotgg/t3code#27587 * fix(acp): follow a mode the agent leaves on its own so picking it again applies by @juliusmarminge in pingdotgg/t3code#40818 * fix(web): settling a thread no longer jolts the sidebar list by @flamboh in pingdotgg/t3code#26661 * fix(server): Word files whose main part is not word/document.xml reach the agent by @Marve10s in pingdotgg/t3code#40777 * fix(server): wake the agent when Claude exits while it awaits background work by @juliusmarminge in pingdotgg/t3code#30214 * fix(web): Usage Limits no longer shows a stale scrollbar by @inanimran in pingdotgg/t3code#40816 * fix(web): closing the last open pull request clears it from the list by @MyDigitalLife in pingdotgg/t3code#29438 * fix(mobile): account badge on the provider icon is readable without an accent color by @juliusmarminge in pingdotgg/t3code#40837 * fix(server): Claude turns no longer stall on empty or partial stream usage frames by @lln556 in pingdotgg/t3code#40804 * fix(server): filesystem browse lists symlinks pointing to directories by @lln556 in pingdotgg/t3code#40830 * fix(client-runtime): a resumed thread renders its catch-up once instead of stepping through stale states by @ahalekelly in pingdotgg/t3code#27401 * fix(web): clicking the Tab hint inserts short prompt suggestions again by @floklein in pingdotgg/t3code#40841 * fix(web): keep script-only drafts reachable in the sidebar by @juliusmarminge in pingdotgg/t3code#25272 * fix(server): retire unresponsive shared Codex app-servers by @juliusmarminge in pingdotgg/t3code#25123 * fix(shared): Windows command discovery no longer blocks the event loop by @maria-rcks in pingdotgg/t3code#27391 * fix(client-runtime): stop sessions on incompatible server configuration by @juliusmarminge in pingdotgg/t3code#21667 * fix(web): browser page translation no longer crashes the app when a turn updates by @juliusmarminge in pingdotgg/t3code#40856 ## New Contributors * @amanthanvi made their first contribution in pingdotgg/t3code#40739 * @iiijiashu made their first contribution in pingdotgg/t3code#40767 * @KyrosHendrix made their first contribution in pingdotgg/t3code#40782 * @Abhiram-745 made their first contribution in pingdotgg/t3code#40781 * @peterxiemin made their first contribution in pingdotgg/t3code#40778 * @inanimran made their first contribution in pingdotgg/t3code#40816 * @MyDigitalLife made their first contribution in pingdotgg/t3code#29438 * @lln556 made their first contribution in pingdotgg/t3code#40804 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261122.5085...v0.1.12-nightly.20261122.5098 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261122.5098
The
delegate_tasktool told agents thattarget.optionstakes values "such as {effort:'max'}", buteffortis a Claude option id. Codex models call itreasoningEffort, so an agent that followed the example when delegating to Codex was rejected with "Unknown option effort" and had to retry. The description now says option ids vary by provider and points toorchestrator_capabilitiesfor each model's ids.packages/contracts/src/orchestratorMcp.ts: newtarget.optionsdescription, without the Claude-only example.apps/server/src/provider/agentContextBudget.json:mcpToolListJsonByteslowered to the new, smaller size.Fixes #32850
Reproduction on main
Commit: origin/main 379a98a. (1) Read the delegate_task target.options description on main: packages/contracts/src/orchestratorMcp.ts:113 still reads "Options from
orchestrator_capabilities, such as {effort:'max'}." (2) From a Claude (claude-opus-5-5) thread on this VM's T3 server, called orchestrator_capabilities: every Codex model (gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-terra, gpt-6.1-sol, gpt-6-astra, gpt-6-luna) lists only reasoningEffort and serviceTier. The delegate_task tool schema the agent receives carries the {effort:'max'} example word for word. (3) Called delegate_task with target {providerInstanceId:'codex', model:'gpt-6-luna', options:{effort:'high'}}. It was rejected: "Model gpt-6-luna on provider codex rejected options: Unknown option effort; supported options: reasoningEffort, serviceTier." No child was started. That live call ran on the VM's T3 build, not a dev server on main. (4) In an origin/main worktree, ran the existing OrchestratorMcpService.test.ts case for the 'Unknown option' rejection: it passes, so main has the same exact-match check (invalidOptionSelections) and no alias from effort to reasoningEffort. As the earlier maintainer run on #34792 found, a fresh agent that reads orchestrator_capabilities first picks reasoningEffort correctly. The failure needs an agent to copy the example or write it from memory, for example after compaction.Evidence
Read the live MCP tool schema, request Codex capabilities, then submit the reported invalid
options:{effort:'high'}call on both commits. Environment: Linux source servers, fresh isolated databases, synthetic active replay parent threads.{effort:'max'}without a provider qualification.orchestrator_capabilities.Both servers list
reasoningEffortandserviceTierfor Codex and reject the deliberately invalideffortcall. The fix corrects guidance; it does not introduce an alias.Raw responses: base, head. Reproduction files: driver, replay wrapper, seed and launch.
Not shown:
Tests
vp test run apps/server/src/mcp/OrchestratorMcpService.test.ts: 97 passedvp test run apps/server/src/provider/AgentContextBudget.test.ts: passes with mcpToolListJsonBytes 59170 (main: 59192)vp run check:changed: format, lint, knip, graphql, typecheck (39 packages) and tests (2 files) all passNot in this change
effortas an alias forreasoningEfforton Codex models (or the reverse), but that changes validation behaviour and is a separate change.effort, CodexreasoningEffort) were left out of the description because they would grow the agent context, which needs the agent-context-increase label.Who did the work
Run by the t3code factory in T3 Code.